WPDeveloper\BetterDocs\Admin\Importer\WPImport D

Total Complexity 264
Dependencies 3
Dependents 2
Total lines 1,447
Lines of code 879
Logical lines of code 581
Comment lines 288
Methods 27
Properties 26

Methods 27

Method Rating Maintainability Complexity Lines of code
process_posts()
D
19
59 200
fetch_remote_file()
C
31 29 96
import_sample_data()
C
37 27 64
set_author_mapping()
B
40 19 52
process_terms()
B
38 15 71
import_start()
B
40 16 55
backfill_parents()
A
50 11 30
__construct()
A
51 11 26
import_helpscout_data()
A
47 9 35
get_filename_from_disposition()
A
51 8 27
existing_slug_action()
S
54 7 19
process_attachment()
S
48 6 31
process_termmeta()
S
54 6 21
import()
S
49 5 33
set_authors_from_import()
S
55 5 19
get_file_extension_by_mime_type()
S
60 5 12
modify_post_type()
S
67 5 7
remap_featured_images()
S
64 4 10
parse()
S
67 3 8
handle_duplicated_nav_menu_term()
S
62 2 12
import_end()
S
63 2 11
update_post_meta()
S
72 2 5
backfill_attachment_urls()
S
63 2 10
update_term_meta()
S
72 2 5
is_valid_meta_key()
S
70 2 6
run()
S
77 1 4
set_post_thumbnail()
S
63 1 10